<template>
  <section class="login page">LOGIN
  </section>
</template>

<script>
import API from '@/api'

export default {
  name: 'honeIndex',
  components: { },
  title: '首页',
  data () {
    return {}
  },
  created () {
  },
  mounted () {
    this.testAPI()
  },
  methods: {
    testAPI () {
      const params = {
        password: 'MnXtB0+blZz6BWmwiRliWtwdw==4QT',
        username: 'jyfz_sunjj'
      }
      API.login(params).then(data => {
        console.log(data)
      })
    }
  }
}
</script>

<style scoped lang="scss">
</style>
